<h1>New comment</h1>

<%= error_messages_for :comment %>

<% form_for([@post, @comment]) do |f| %>
	<p>
			<%= f.text_area :content, :rows => 4  %>
	</p>
  <p>
    <%= f.submit "Create" %>
  </p>
<% end %>

<%= link_to 'Back', post_comment_path(@post, @comment) %>
